package com.geper.pattern.payFactory.factory;

import com.geper.pattern.payFactory.AliPayFail;
import com.geper.pattern.payFactory.AliPaySuccess;
import com.geper.pattern.payFactory.PayFail;
import com.geper.pattern.payFactory.PaySuccess;

/**
 * @author: lsy
 * @date: 2020-02-24 17:28
 * @description: AlipayFactory
 */
public class AlipayFactory extends DomesticFactory{
    protected PayFail payFail() {
        return new AliPayFail();
    }

    protected PaySuccess paySuccess() {
        return new AliPaySuccess();
    }
}
